package com.sjd.mall.domain.dto.account;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @ProjectName: sjd
 * @Package: com.sjd.mall.domain.dto.account
 * @ClassName: AccountAddressDTO
 * @Author: genglong
 * @Description: 收货地址新增请求
 * @Date: 2022/1/13 9:33
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class AccountAddressUpdateRequestDTO {

    @NotNull(message = "主键不能为空")
    private Long id;
    /**
     * 收件人名称
     */
    private String username;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 省
     */
    private String province;

    /**
     * 省编码
     */
    private String provinceCode;

    /**
     * 市
     */
    private String city;

    /**
     * 市编码
     */
    private String cityCode;

    /**
     * 区
     */
    private String area;

    /**
     * 区编码
     */
    private String areaCode;

    /**
     * 详细地址
     */
    private String address;

}
